<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.8/phpunit.xsd"
    bootstrap="./vendor/autoload.php"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    beStrictAboutTestsThatDoNotTestAnything="false"
    stopOnFailure="false"
>
    <testsuites>
        <testsuite name="Apis">
            <directory>{{apiTestPath}}</directory>
        </testsuite>
        <testsuite name="Models">
            <directory>{{modelTestPath}}</directory>
        </testsuite>
        <testsuite name="Mock">
            <directory>{{mockTestPath}}</directory>
        </testsuite>
        <testsuite name="Utils">
            <directory>{{utilsTestPath}}</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">{{apiSrcPath}}</directory>
            <directory suffix=".php">{{modelSrcPath}}</directory>
            <directory suffix=".php">{{mockSrcPath}}</directory>
            <directory suffix=".php">{{utilsSrcPath}}</directory>
        </whitelist>
    </filter>
    <php>
        <ini name="error_reporting" value="E_ALL" />
    </php>
</phpunit>
